package com.sharewin.mapper;

import com.sharewin.domain.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper {

    List<Role> findRoleByUserId(@Param("userId") Integer userId);
}
